/* 
 * Copyright TLR Team, Inc. All Rights Reserved.
 */
function RenameDevice(deviceId, bindName) {
    this.deviceid = deviceId;
    this.bindname = bindName;
}

function PurifierCtrl(pm25, tvoc) {
    this.switchOn = 0;
    this.windSpeed = 0;
    this.mode = 0;
    this.ionEnabled = 0;
    this.pm25 = pm25;
    this.tvoc = (tvoc === 0 || tvoc === '0') ? 0.0 : tvoc; //fix the data value is 0 issue
}